import request from '@/utils/request'
export function wjAdd(params = {}) {
    return request({
        url: '/wj/add',
        method: 'POST',
        data: params
    }).then(({
        data
    }) => {
        return data
    })
}

export function wjDelete(params = {}) {
    return request({
        url: '/wj/delete',
        method: 'POST',
        data: params
    }).then(({
        data
    }) => {
        return data
    })
}

export function wjDetail(params = {}) {
    return request({
        url: '/wj/detail',
        method: 'POST',
        data: params
    }).then(({
        data
    }) => {
        return data
    })
}

export function wjEdit(params = {}) {
    return request({
        url: '/wj/edit',
        method: 'POST',
        data: params
    }).then(({
        data
    }) => {
        return data
    })
}

export function wjList(params = {}) {
    return request({
        url: '/wj/list',
        method: 'POST',
        data: params
    }).then(({
        data
    }) => {
        return data
    })
}
